package mapper;


import model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by 小泽玛丽罗 on 2016/9/28.
 */

public interface UserMapper {

    public  int add(User user);

    public  int deleteById(int id);

    public  User getById(int id);

    public List<User> getAll();

    public int update(User user);

}
